Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Converting Dimensions of Points and Vectors


Q3Vector2D_To3D

You can use the Q3Vector2D_To3D function to convert a two-dimensional vector to a three-dimensional vector.

TQ3Vector3D *Q3Vector2D_To3D (
const TQ3Vector2D *vector2D, 
TQ3Vector3D *result);
vector2D
A two-dimensional vector.
result
On exit, a three-dimensional vector.
DESCRIPTION
The Q3Vector2D_To3D function returns, as its function result and in the result parameter, the three-dimensional vector that corresponds to the two-dimensional vector vector2D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996